package com.imooc.security.core.properties;

/**
 * Created by zghgchao 2018/4/21 10:20
 */
public class BrowserProperties {

    /**
     * loginPage 要和application.properties文件中对应字段一致，不然读不出来值
     */
    private String loginPage = "/imooc-signIn.html";//默认登录页面，没有配置是会跳转到这个页面

    private LoginType loginType = LoginType.JSON;//默认返回JSON格式的数据

    private int rememberMeSeconds = 3600;//记住我功能 1小时

    public String getLoginPage() {
        return loginPage;
    }

    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }

    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }
}
